﻿<%@ Page Title="采购详情" Language="C#" MasterPageFile="~/Master/MasterPage_New.master" AutoEventWireup="true" CodeBehind="SortGoodsDetail.aspx.cs" Inherits="HZ.Supervise.Web.Secondphase.ReportSort.SortGoodsDetail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="tabnav">
        <ul>
            <li>
                <a href="#" >采购详情</a>
            </li>
        </ul>
    </div>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                        <tr>
                            <td align="right">
                                通用名：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtProductName" MaxLength="25" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                剂型：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtMedicineModelName" MaxLength="25" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                规格：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtOutlookc" MaxLength="25" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                包装：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtPack" MaxLength="25" runat="server"></asp:TextBox>
                            </td>
                            <td align="right">
                                单位：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtUnit" MaxLength="25" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                </td>
                <td width="100px">
                    <asp:Button ID="btnQuery" runat="server" Text="查询" CssClass="searchbtn"
                        SkinID="search" ToolTip="点击查询符合条件的数据" onclick="btnQuery_Click" />
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="gvwDetail" CssClass="mainlist" runat="server" AutoGenerateColumns="False"
        EmptyDataText="暂无有效的信息！"  >
        
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%# Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex - 1)%></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:BoundField DataField="PurchaseCount" HeaderText="采购数量"  />
            <asp:BoundField DataField="DistributeCount" HeaderText="配送数量"  ReadOnly="True"/>
            <asp:BoundField DataField="WarehouseCount" HeaderText="入库数量"  ReadOnly="True"/>
            <asp:BoundField DataField="PurchaseAmount" HeaderText="采购总金额"  ReadOnly="True"/>
            <asp:BoundField DataField="WarehouseAmount" HeaderText="入库总金额"  ReadOnly="True"/>
            <asp:BoundField DataField="OrderName" HeaderText="采购单名称"  ReadOnly="True"/>
            <asp:BoundField DataField="StartTime" HeaderText="开始时间"  ReadOnly="True"/>
            <asp:BoundField DataField="PlanEndTime" HeaderText="截止时间"  ReadOnly="True"/>
            <asp:BoundField DataField="ProductName" HeaderText="通用名"  ReadOnly="True"/>
            <asp:BoundField DataField="MedicineModelName" HeaderText="剂型"  ReadOnly="True"/>
            <asp:BoundField DataField="Outlookc" HeaderText="规格"  ReadOnly="True"/>
            <asp:BoundField DataField="Unit" HeaderText="单位"  ReadOnly="True"/>
            <asp:BoundField DataField="Factor" HeaderText="包装"  ReadOnly="True"/>
            <asp:BoundField DataField="QualityLevel" HeaderText="质量层次"  ReadOnly="True"/>
            <asp:BoundField DataField="Price" HeaderText="实际采购价"  ReadOnly="True"/>
            <asp:BoundField DataField="CompanyName_SC" HeaderText="生产企业"  ReadOnly="True"/>
            <asp:BoundField DataField="CompanyName_PS" HeaderText="配送企业"  ReadOnly="True"/>
            <asp:BoundField DataField="HospitalName" HeaderText="采购医院"  ReadOnly="True"/>
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server">
        </webdiyer:AspNetPager>
    </div>
</asp:Content>
